import Vue from 'vue'
import App from './App.vue'
//引入路由vue-router
import VueRouter from 'vue-router'
Vue.use(VueRouter)
import router from './router'
//引入element
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
//填写后台请求统一的地址
import axios from 'axios'
axios.defaults.baseURL = 'http://localhost/graduateprogram/'; 
Vue.config.productionTip = false
new Vue({
  render: h => h(App),
  router,
  beforeCreate(){
    Vue.prototype.$bus=this;
  }
}).$mount('#app')
